
	<!-- 底部导航条 -->
	<php>$services_user= empty(C('services_user'))?'':htmlspecialchars_decode(htmlspecialchars_decode(C('services_user')));</php>

	<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-default " id="bm-nav">
		<ul class="am-navbar-nav am-cf am-avg-sm-4" style="background-color: #ffffff;">
			<li class="nva_sy">
				<a href="{:U('Index/index')}" class="">
					<img src="/Public/static/picture/2-<if condition="MODULE_NAME eq 'Index' and ACTION_NAME eq 'index' or MODULE_NAME eq 'Loan'">2<else/>1</if>.png" alt="消息">

					<span class="am-navbar-label">首页</span>
				</a>
			</li>
			<li class="nva_qb">
				<a href="{:U('Repay/index')}" class="">
					<img src="/Public/static/picture/3-<if condition="MODULE_NAME eq 'Repay'">2<else/>1</if>.png" alt="消息">

					<span class="am-navbar-label">钱包</span>
				</a>
			</li>
			<li class="nva_kf">
				<a href="{$services_user}" class="">
					<img src="/Public/static/picture/1-1.png" alt="消息">

					<span class="am-navbar-label">客服</span>
				</a>
			</li>
			<li class="nva_wd">
				<a href="{:U('Index/more')}" class="">
					<img src="/Public/static/picture/4-<if condition="MODULE_NAME neq 'Repay' and ACTION_NAME neq 'index' and MODULE_NAME neq 'Loan'">2<else/>1</if>.png" alt="消息">

					<span class="am-navbar-label">我的</span>
				</a>
			</li>
		</ul>
	</div>


<php>$servicesCode= empty(C('servicesCode'))?'':htmlspecialchars_decode(htmlspecialchars_decode(C('servicesCode')));</php>
{$servicesCode|default=''}
<script type="text/javascript">
		//本脚本解决点击后跳出safari的问题
		(function(){	
			if ("standalone" in window.navigator && window.navigator.standalone) {
				 
				var d, l = false;
				document.addEventListener("click", function(i) {
					d = i.target;
					while (d.nodeName !== "A" && d.nodeName !== "HTML") d = d.parentNode;
					//if ("href" in d && d.href.indexOf("http") !== -1 && (d.href.indexOf(document.location.host) !== -1 || l)) {
					if ("href" in d && d.href.indexOf("http") !== -1 ) {
						i.preventDefault();
					
						document.location.href = d.href
					}
				}, false)
			}
		}());
		
		</script>